package com.equdao.car_violation_inquiry.dao;

import com.equdao.car_violation_inquiry.pojo.BasicCarDO;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: 杨忠强
 * @Date: 2018/6/28 17:53
 * @Description:
 */
public interface BasicCarDaoMapper {

    /** 保存用户传入的csv原数据 */

    Integer saveBasicCar(List<BasicCarDO> list);


    List<BasicCarDO> findBasicCarListByFlag(@Param("flag") String flag,@Param("status") String status);


    Integer updateBasicCarById(Integer id);


    List<BasicCarDO> findExportBasicData( String flag);

    List<BasicCarDO> findExportViolationBasicData(String flag);

    Integer updateBasicDataStatus(String flag);

    Integer findBasicCarTotal(String flag);

    Integer findBasicCarCompleted(@Param("flag") String flag,@Param("status") String status);
}
